import http from '@/utils/request.js'

// 考试列表
export const getList = (data) => {
	return http.post('/api/exam/getList', {
		...data
	})
}

// 考试详情
export const getone = (data) => {
	return http.post('/api/exam/getone', {
		...data
	})
}

// 考试考卷
export const getPaper = (data) => {
	return http.post('/api/exam/get_paper_data', {
		...data
	})
}

// 考卷提交
export const submitPaper = (data) => {
	return http.post('/api/exam/submit_paper', {
		...data
	})
}

// 考试结果列表
export const examResult = (data) => {
	return http.post('/api/exam/get_member_exam_result_list', {
		...data
	})
}

// 考试结果详情
export const examdetail = (data) => {
	return http.post('/api/exam/get_member_exam_result_details', {
		...data
	})
}